const adminsDao = require('../../dao/admins/adminsDao.js')

// let a = adminsDao.insertadmins("1","2")
// a.then((data)=>{
//     console.log(data);
// })


let a = adminsDao.updateadminsById({
    "_id":"61a0814930be3e8d5fbd0114",
    "adminName":"1111111",
    "adminPassword":"123123",
    "photo":"123.jpg"
})

a.then((data)=>{
    console.log(data);
}) 


// let a = adminsDao.updateadminsById({_id:"61a0814930be3e8d5fbd0114",adminName:"00000",adminPassword:"0000",photo:"123.jpg"})